package com.orange.core.pojo.req.receipt;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ReceiptSaveReq implements Serializable {

    /**
     * 商户id
     */
    @NotNull(message = "请选择品牌门店")
    private Integer shopId;

    /**
     * 金额
     */
    @NotNull(message = "请填写金额")
    private BigDecimal amount;

    /**
     * 小票url
     */
    @NotEmpty(message = "请上传小票")
    private List<String> picUrls;
}
